#include "qzerocanvas.h"

#include <qapplication.h>
#include <QKeyEvent>

QZeroCanvas::QZeroCanvas(QWidget *parent) : QGLWidget( parent)
{

}

void QZeroCanvas::keyPressEvent( QKeyEvent *e )
{
  switch( e->key() )
  {
  case Qt::Key_Escape:
    close();
  }
}


